{include file="Index/header" /} 
 
 
 
<body style="width:325px !important;min-width:325px;margin-top:20px;">
  	<form id="user-reset-pass"  method="post" >
  		<input type="hidden" id="cid" value="{$cid}">
		<input type="hidden" id="reUrl" value="{:url('Goods/categoryEdit')}">
		<p>
			<label>商品类型：<input id="category" name="category" value="{$categoryInfo.names}" type="text"></label> 
			<a href="javascript:void(0);" class="addMenu" onclick="categoryEdit();">确认</a> 
		</p>   
	</form>
	
<script>

function categoryEdit(){ 
	$.post($("#reUrl").val(),{ 
		'category':$("#category").val(),
		'cid':$("#cid").val(),
		'ajax':1
	},function (json){
		if(json.status==1){   
			art.dialog.data('op','ok');
			art.dialog.close(); 
		}
		
	},'json');
	
}
</script>
{include file="Index/footer" /}